#include <iostream>
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>

/*void SignalHandle(int sig)
{
    std::cout << "hello kivotos" << std::endl;
}*/

int main()
{
    //signal(2,SignalHandle);
    int n = 0;
    while(true)
    {
        std::cout << n++ << "   " << getpid() << std::endl;
        sleep(2);
    }
    return 0;
}